﻿@model Entity.Admin.Message

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>Message</legend>

    <div class="display-label">Sender_ID</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Sender_ID)
    </div>

    <div class="display-label">Content</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Content)
    </div>

    <div class="display-label">Parent</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Parent.Sender_ID)
    </div>

    <div class="display-label">SendTime</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.SendTime)
    </div>

    <div class="display-label">MessageType</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.MessageType)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.ID }) |
    @Html.ActionLink("Back to List", "Index")
</p>
